﻿namespace Rosieks.Web.Flow.Metadata
{
    using System.Collections.Generic;

    public partial class WebflowModel
    {
        public string Name
        {
            get;
            set;
        }

        public System.Type Model
        {
            get;
            set;
        }

    }

    public partial class State
    {
        public string Name
        {
            get;
            set;
        }

        public bool IsEndState
        {
            get;
            set;
        }

        public Rosieks.Web.Flow.RouteData RouteData
        {
            get;
            set;
        }

    }

    public partial class ViewState : State
    {
        public string ViewPath
        {
            get;
            set;
        }

        public string IncludeFields
        {
            get;
            set;
        }

    }

    public partial class SubflowState : State
    {
        public string FlowName
        {
            get;
            set;
        }

        public string ModelField
        {
            get;
            set;
        }

    }

    public partial class WebflowModelHasElements
    {
        public State WebflowModel
        {
            get;
            set;
        }

    }

    public partial class Transition
    {
        public string On
        {
            get;
            set;
        }

        public bool RequireValidModel
        {
            get;
            set;
        }

        public string Condition
        {
            get;
            set;
        }

        public bool IsDefault
        {
            get;
            set;
        }

        public State To
        {
            get;
            set;
        }

    }

    public partial class WebflowModelReferencesFirstState
    {
        public State WebflowModel2
        {
            get;
            set;
        }

    }

}
